linux 查看nginx mysql配置文件路径

葫芦的运维日志

下一篇 搜索 上一篇

浏览量 2248

2015/12/09 15:52


查看nginx配置文件路径

/usr/local/nginx/sbin/nginx -t

查看mysql配置文件路径

mysql --help|grep my.cnf

[root@k8s-master conf]# mysql --help|grep my.cnf
                      order of preference, my.cnf, $MYSQL_TCP_PORT,
/etc/mysql/my.cnf /etc/my.cnf ~/.my.cnf 
[root@k8s-master conf]#  /usr/local/nginx/sbin/nginx -t
nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful

葫芦的运维日志

打赏

上一篇 搜索 下一篇
© 冰糖葫芦甜(bthlt.com) 2021 王梓打赏联系方式 陕ICP备17005322号-1